package com.solution.service;

import java.util.List;
import java.util.Set;

import com.solution.exception.ServiceBeanException;
import com.solution.model.AnswerType;
import com.solution.model.QuestionType;
import com.solution.util.SearchVO;

public interface QuestionTypeService{

	public QuestionType fetchQuestion(Long questionTypeId) throws ServiceBeanException;
	public List<QuestionType> fetchQuestions(SearchVO searchVO) throws ServiceBeanException;
	public Set<QuestionType> fetchActiveQuestions(Long categoryTypeId, Long levelTypeId, Long numberOfQs, Long clientId,boolean isMultiple) throws ServiceBeanException;
	public QuestionType createQuestionAnswer(QuestionType question, List<AnswerType> answers) throws ServiceBeanException;
	public QuestionType updateQuestionAnswer(QuestionType question, List<AnswerType> answers) throws ServiceBeanException;
	public Integer countQuestions(SearchVO searchVO) throws ServiceBeanException;
}
